package com.leo.mqttclientdemo.service;

import com.leo.mqttclientdemo.service.impl.MqttConnectServiceImpl;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author Administrator
 */
@Configuration
public class MqttAutoConfig {

    @Bean(initMethod = "connect")
    public MqttConnectServiceImpl MqttConnect() {
        return new MqttConnectServiceImpl();
    }

}
